.consumption-record {
  height: 100%;
  width: 100%;
  padding: 16px;
  overflow-y: scroll;
  box-sizing: border-box;
  background: #f7f7f7;

  .balance-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

    .label {
      font-size: 14px;
      color: #666;
      margin-bottom: 8px;
    }

    .amount {
      font-size: 32px;
      font-weight: 600;
      color: #333;

      .unit {
        font-size: 14px;
        font-weight: normal;
        margin-left: 4px;
      }
    }
  }

  .record-list {
    .record-item {
      background: #fff;
      border-radius: 8px;
      padding: 16px;
      margin-bottom: 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;

      .record-info {
        flex: 1;
        margin-right: 16px;

        .record-title {
          font-size: 16px;
          color: #333;
          margin-bottom: 4px;
        }

        .record-type {
          font-size: 14px;
          color: #666;
          margin-bottom: 4px;
        }

        .record-time {
          font-size: 12px;
          color: #999;
        }
      }

      .record-amount {
        font-size: 16px;
        font-weight: 500;
        color: #ff4d4f;

        .unit {
          font-size: 12px;
          margin-left: 2px;
        }
      }
      .record-amount-green {
        color: #389e0d;
      }
    }
  }
}
